﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EasyDater.Base
{
    //构建SQL语句使用
    public class MMTP
    {
        private List<string[]> items = new List<string[]>();
        /// <summary>
        /// 信息
        /// </summary>
        public List<string[]> Items
        {
            get { return items; }
        }
        /// <summary>
        /// 增加键值对
        /// </summary>
        /// <param name="keyStr">键</param>
        /// <param name="valueStr">值</param>
        public void AddItems(string key, string value, string format)
        {
            items.Add(new string[3] { key, value, format });
        }
    }


    public class MSTP
    {
        private string[]? items;
        /// <summary>
        /// 信息
        /// </summary>
        public string[] Items
        {
            get { return items; }
        }
        /// <summary>
        /// 增加键值对
        /// </summary>
        /// <param name="keyStr">键</param>
        /// <param name="valueStr">值</param>
        public void AddItems(string key, string value, string format)
        {
            items = new string[3] { key, value, format };
        }
    }
}
